﻿using System;
using System.Collections.Generic;
using System.Text;

using ECCIT.Business.Model;

namespace OgilvyOne.UKNow.Model
{
    [Serializable]
    public class NewsModel : BaseModel
    {
        public int? LanguageID { get; set; }
        public int? ID { get; set; }
        public int? State { get; set; }
        public string Title { get; set; }
        public string ShortDescription { get; set; }
        public string Content { get; set; }
        public bool IsHotspot { get; set; }
        public string ImageName { get; set; }
        public string ImagePath { get; set; }
        public string ImageType { get; set; }
        public string ImageDesc { get; set; }
        public DateTime InsertedTime { get; set; }
        public DateTime UpdatedTime { get; set; }

        public NewsModel() { }

        public NewsModel(int? langID, int? id, int? state, string title, string shortDesc, string content, bool isHotspot,
            string imageName, string imagePath, string imageType, string imageDesc, DateTime insertedTime, DateTime updatedTime)
        {
            this.LanguageID = langID;
            this.ID = id;
            this.State = state;
            this.Title = title;
            this.ShortDescription = shortDesc;
            this.Content = content;
            this.IsHotspot = isHotspot;
            this.ImageName = imageName;
            this.ImagePath = imagePath;
            this.ImageType = imageType;
            this.ImageDesc = imageDesc;
            this.InsertedTime = insertedTime;
            this.UpdatedTime = updatedTime;
        }
    }
}
